(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  this.PopUpView = (function(_super) {

    __extends(PopUpView, _super);

    function PopUpView() {
      return PopUpView.__super__.constructor.apply(this, arguments);
    }

    PopUpView.prototype.initialize = function() {
      this.silent = true;
      PopUpView.__super__.initialize.apply(this, arguments);
      $('#' + this.popUpId + "-pop-up").remove();
      $('body').append("<div id='" + this.popUpId + "-pop-up' title='" + this.title + "'><div id='" + this.popUpId + "'></div></div>");
      $('#' + this.popUpId + '-pop-up').dialog({
        title: this.title,
        resizable: false,
        draggable: false,
        width: this.width,
        height: this.height
      });
      return this.setElement($("#" + this.popUpId));
    };

    PopUpView.prototype.close = function() {
      return $('#' + this.popUpId + "-pop-up").dialog('close');
    };

    return PopUpView;

  })(CustomView);

}).call(this);
